package demo002;

public class User extends Person {
	public void publicUserMethod() {
		System.out.println("用Invoke调用"
				+ "publicUserMethod");
	}
	
	@SuppressWarnings("unused")
	private void privateUserMethod(){
		System.out.println("用Invoke调用"
				+ "privateUserMethod");
	}
	
	
	protected void protectedUserMethod(){
		
	}
	
	void defaultUserMethod(){
		
	}
	
	
	public User(){}
	
	public User(String name,int age){
		System.out.println(name+"今年"+age+"岁");
	}
	
}
